// Three.js utilities 